//
//  SCNetManger.h
//  Assembly
//
//  Created by 葛悦彣 on 2023/11/15.
//

#import <Foundation/Foundation.h>
#import "BaseNetManger.h"

NS_ASSUME_NONNULL_BEGIN
#define kCompetionHandlerBlock (void(^)(id model))completionHandler
//typedef void(^newUpPhotoBlock)(NSString * url,NSString * previewUrl, UIImage * img);

@interface SCNetManger : BaseNetManger
///登录
+ (NSURLSessionDataTask *)PostAppAppLoginWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取短信验证码
+ (NSURLSessionDataTask *)GETAppGetSmsCodeWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///短信验证码校验以及密码修改
+ (NSURLSessionDataTask *)PostAppCheckSmsCodeWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///根据字典编码获取字典数据
+ (NSURLSessionDataTask *)PostDictGetDictTextDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///app-web-获取全部的养殖场
+ (NSURLSessionDataTask *)PostuserAccountGetBreedFarmWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取用户养殖场
+ (NSURLSessionDataTask *)PostsysDepartQueryTreeBreedFarmWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///切换-选择部门
+ (NSURLSessionDataTask *)PostappSelectAppDepartsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///app首页任务数量
+ (NSURLSessionDataTask *)PostHomeAppTaskCountWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///app首页室外池塘统计
+ (NSURLSessionDataTask *)PostHomeGetAppOutDoorPondStatisticsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///app首页温室编组统计-列表
+ (NSURLSessionDataTask *)PostGetAppTissueStatisticsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///app首页温室池塘统计
+ (NSURLSessionDataTask *)PostHomeGetAppGreenHousePondStatisticsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///模板管理-公共模板列表
+ (NSURLSessionDataTask *)PostCommonListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///模板管理-个人模板列表
+ (NSURLSessionDataTask *)PostPersonalListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///个人模板-选择公共模板
+ (NSURLSessionDataTask *)PostPullListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///公共模板-详情
+ (NSURLSessionDataTask *)PostMBDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///个人模板-详情
+ (NSURLSessionDataTask *)PostGRMBDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///个人模板-新增工作任务-任务列表
+ (NSURLSessionDataTask *)PostMBTaskTypeWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///个人模板-选择任务类型-选择后给任务列表
+ (NSURLSessionDataTask *)PostMBselectTypeWithDict:(NSArray *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///个人模板-新增
+ (NSURLSessionDataTask *)PostTemplateAddWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///个人模板名称重复校验
+ (NSURLSessionDataTask *)PostTemplateCheckWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///个人模板-编辑
+ (NSURLSessionDataTask *)PostTemplateEditWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///人员管理
+ (NSURLSessionDataTask *)PostAppAccountGetAppUserManageWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取app用户日志带参
+ (NSURLSessionDataTask *)PostcardGetUserLogModelWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取岗位职责
+ (NSURLSessionDataTask *)PostappAccountGetPositionsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///人员管理人员详情
+ (NSURLSessionDataTask *)PostAppAccountGetAppUserManageDetailWithID:(NSString *)ID andCompetionHandlerBlock:kCompetionHandlerBlock;

///池塘类型下拉框列表
+ (NSURLSessionDataTask *)PostPondTypeGetOptionWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///池塘编组完整下拉框
+ (NSURLSessionDataTask *)PostPondTissueGetPondTissueListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///养殖种类下拉框
+ (NSURLSessionDataTask *)PostBreedTypeGetOptionWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///选择模板下拉框
+ (NSURLSessionDataTask *)PostTemplateOptionListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///判断是否有重名
+ (NSURLSessionDataTask *)PostPondManageIsDuplicateNameWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///12.延期下发
+ (NSURLSessionDataTask *)PostponingWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///13.继续下发
+ (NSURLSessionDataTask *)ContinuePondTaskWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///14.塘口延期列表
+ (NSURLSessionDataTask *)PostRecordListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///池塘编组模糊查询
+ (NSURLSessionDataTask *)PostPondTissueTissueOpFilterListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///新增池塘
+ (NSURLSessionDataTask *)PostPondManageAddPondWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取职务和当前养殖场用户
+ (NSURLSessionDataTask *)PostGetPositionAndUserByOrgCodeWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///池塘详情页
+ (NSURLSessionDataTask *)PostPondManageBasicInfoWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///判断池塘是否有分组
+ (NSURLSessionDataTask *)PostPondManageIsGroupWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///池塘修改详情页
+ (NSURLSessionDataTask *)PondManagePondManageDetailOneWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///修改池塘-单
+ (NSURLSessionDataTask *)PondManageEditPondOneWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///修改池塘-多
+ (NSURLSessionDataTask *)PondManageEditPondGroupWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///附件上传
+ (void)PostuploadFilesWithImg:(UIImage *)img CompletionHandler:(void(^)(NSString * url,NSString * previewUrl, UIImage * img))block;

///水印上传
+ (void)PostuploadFilesWithImg:(UIImage *)img andAddress:(NSString *)address CompletionHandler:(void(^)(NSString * url,NSString * previewUrl, UIImage * img))block;

///上传语音
+ (void)PostuploadFilesWithData:(NSData *)data CompletionHandler:(void(^)(NSString * url,NSString * previewUrl, NSData * data))block;

///选择池塘列表
+ (NSURLSessionDataTask *)PostTaskSelectPondWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///取消任务
+ (NSURLSessionDataTask *)PostTaskCanceltWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///转交任务
+ (NSURLSessionDataTask *)PostTaskHandoverWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///4.11任务管理-合并任务列表(NIJQ)(新增)
+ (NSURLSessionDataTask *)PostTaskMergeWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///新增任务
+ (NSURLSessionDataTask *)PostTaskAddWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

/// 选择分别配置
+ (NSURLSessionDataTask *)PostTaskConfigureWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///任务列表
+ (NSURLSessionDataTask *)PostTaskListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

/// 时间状态显示
+ (NSURLSessionDataTask *)PostTaskStatusWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///池塘过滤列表
+ (NSURLSessionDataTask *)PostTaskPondListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///交接数量
+ (NSURLSessionDataTask *)PostAuditGetHandoverCountModelWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///交接列表
+ (NSURLSessionDataTask *)PostAuditGetHandoverListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///告警列表
+ (NSURLSessionDataTask *)PostAlarmManageGetAlarmManageListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///告警详情
+ (NSURLSessionDataTask *)PostAlarmManageAlarmManageDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取未完成的告警总数
+ (NSURLSessionDataTask *)PostAlarmManageGetAlarmPendSumWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///查询电话
+ (NSURLSessionDataTask *)PostAlarmManageGetPhoneByUserIdsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///警告关闭
+ (NSURLSessionDataTask *)PostAlarmManageCloseWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///告警新增任务详情
+ (NSURLSessionDataTask *)PostAlarmManageAlarmAddTaskDetailModelWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///App审批列表
+ (NSURLSessionDataTask *)PostAuditGetAppAuditListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///App审批数量
+ (NSURLSessionDataTask *)PostAuditGetAuditCountModelWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///撤销申请
+ (NSURLSessionDataTask *)PostAuditCancelApplyWithauditId:(NSString *)auditId andCompetionHandlerBlock:kCompetionHandlerBlock;

///审批同意
+ (NSURLSessionDataTask *)PostAuditAuditAgreeWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///审批拒绝
+ (NSURLSessionDataTask *)PostAuditAuditRefuseWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///查看审核详情
+ (NSURLSessionDataTask *)PostAuditGetAuditDetailWithauditId:(NSString *)auditId andCompetionHandlerBlock:kCompetionHandlerBlock;

///查看交接详情
+ (NSURLSessionDataTask *)PostAuditGetHandoverDetailWithauditId:(NSString *)auditId andCompetionHandlerBlock:kCompetionHandlerBlock;

///确认接收
+ (NSURLSessionDataTask *)PostAuditConfirmHandoverWithauditId:(NSString *)auditId andCompetionHandlerBlock:kCompetionHandlerBlock;

///打卡内容加载
+ (NSURLSessionDataTask *)PostCardDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///打卡内容提交
+ (NSURLSessionDataTask *)PostCardAddWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;


///上报异常
+ (NSURLSessionDataTask *)PostCardSubmitWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///获取单个池塘任务日志
+ (NSURLSessionDataTask *)PostCardGetPondTaskLogWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///我的
+ (NSURLSessionDataTask *)PostAppAccountGetMyModelWithUserID:(NSString *)UserID andCompetionHandlerBlock:kCompetionHandlerBlock;

///app-修改密码
+ (NSURLSessionDataTask *)PostAppAccountUpdatePasswordWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///App消息分类
+ (NSURLSessionDataTask *)PostsysSmsTypeListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;



///App消息
+ (NSURLSessionDataTask *)PostsysSmsAppListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///App消息详情
+ (NSURLSessionDataTask *)PostsysSmsAppQueryByIdWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///消息-首页最新五条未读
+ (NSURLSessionDataTask *)PostsysSmsAppIndexSmsWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///App消息-已读
+ (NSURLSessionDataTask *)PostsysSmsAppIsReadWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///App消息-批量已读
+ (NSURLSessionDataTask *)PostsysSmsAppBatchReadWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///上报极光ID
+ (NSURLSessionDataTask *)sysSmsAppUpDateRegistrationIdWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;



/*--------- 学习 -----------*/
///学习列表
+ (NSURLSessionDataTask *)learnInfoGetLearnInfoListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///推荐十条
+ (NSURLSessionDataTask *)learnInfoRecommendedWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///一级二级类型分别拉框(一级下拉框)
+ (NSURLSessionDataTask *)learnTypeTypeOptionWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///学习详情页
+ (NSURLSessionDataTask *)learnInfoEditDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///专家列表
+ (NSURLSessionDataTask *)expertGetAppExpertListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///授权
+ (NSURLSessionDataTask *)expertEmpowerWithID:(NSString *)ID andCompetionHandlerBlock:kCompetionHandlerBlock;

///取消授权
+ (NSURLSessionDataTask *)expertCancelEmpowerWithID:(NSString *)ID andCompetionHandlerBlock:kCompetionHandlerBlock;

///查看授权码
+ (NSURLSessionDataTask *)expertLookCodeWithID:(NSString *)ID andCompetionHandlerBlock:kCompetionHandlerBlock;

///电话点击累计
+ (NSURLSessionDataTask *)expertCallCountWithID:(NSString *)ID andCompetionHandlerBlock:kCompetionHandlerBlock;

/*--------- 仓库 -----------*/

///仓库物品-列表信息
+ (NSURLSessionDataTask *)warehouseManageListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///仓库物品品类下拉列表
+ (NSURLSessionDataTask *)warehousekindOptionWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///仓库物品信息详情
+ (NSURLSessionDataTask *)warehouseManageDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///出入库-列表信息
+ (NSURLSessionDataTask *)warehouseBoundListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///出入库详情信息
+ (NSURLSessionDataTask *)warehouseBoundDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///出库
+ (NSURLSessionDataTask *)warehouseManageOutWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///入库
+ (NSURLSessionDataTask *)warehouseManageIntoWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;
 
///仓库库存预警列表
+ (NSURLSessionDataTask *)warehouseAlarmGetAlarmListWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

///仓库库存预警详情
+ (NSURLSessionDataTask *)warehouseAlarmGetAlarmDetailWithDict:(NSMutableDictionary *)dict andCompetionHandlerBlock:kCompetionHandlerBlock;

@end

NS_ASSUME_NONNULL_END
